package com.surpermaket.service.impl;


import com.surpermaket.entity.Role;
import com.surpermaket.mapper.RoleMapper;
import com.surpermaket.service.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RoleServiceImpl implements RoleService {
    @Autowired
    private  RoleMapper roleMapper;
    @Override
    public  List<Role> selectAll(Role role) {
        return roleMapper.selectAll(role);
    }
}
